from fastapi import APIRouter
from app.api.v1 import auth, users, search,graph, comments, file

api_router = APIRouter()

api_router.include_router(auth.router, prefix="/auth", tags=["认证"])
# 移除或注释掉未定义的 search 路由
api_router.include_router(search.router, prefix="/search", tags=["搜索"])
api_router.include_router(users.router, prefix="/users", tags=["用户"])
api_router.include_router(graph.router, prefix="/graph", tags=["知识图谱"])
api_router.include_router(comments.router, prefix="/comments", tags=["评论"])
api_router.include_router(file.router, prefix="/files", tags=["文件"])